package com.renchi.menu.Leaving.entity;

import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@Table(name = "bgd_data_leavdb")
@DynamicInsert
@DynamicUpdate
public class LeavDbEntity {
    private int id;
    @Id
    private String leav_id;
    private String user_id;
    private String user_name;
    private String user_img;
    private String menu_url;
    private String content;
    private int praise;
    private int sttp_on;
    private Date create_time;
    private Date update_time;

}
